package com.woniuxy.movie.commons.ribbon.config;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RibbonBaseConfig {

    @Bean
    public IRule createIrule(){
        return new WeightRule();
    }
}
